package com.gabriellaet.subtitle
{	
	public final class Subtitle
	{
		public var start:Timestamp;
		public var end:Timestamp;
		public var text:String;
		public var next:Subtitle;
		
		public function get duration():Number
		{
			return Number(end) - Number(start);
		}
		
		public function toString():String
		{
			return start+" ---> "+end+"\n"+text;
		}
	}
}